#pragma once
namespace ns_protocol
{
    //定制需求和响应协议
    struct Request
    {
        int x;
        int y;
        char op;//option:+ - * / %
        Request():x(0),y(0),op('+'){}
    };
    struct Response
    {
        int code;//0:success 1:div error 2:mod error 3:exp error
        int result;
        Response():code(0),result(0){}
    };
}